package Dungeoneering.Keys;

/**
 * This is the shape of a key: See Key
 * @author Nicolaas
 *
 */
public enum KeyShape {
	// ID's of key items in order of color and shape. order being or, si, ye, gr, bl, pu, cri, go -- and tri, di, re, pe, co, cre, we, sh
	TRIANGLE (" triangle"),
	DIAMOND (" diamond"),
	RECTANGLE (" rectangle"),
	PENTAGON (" pentagon"),
	CORNER (" corner"),
	CRESCENT (" crescent"),
	WEDGE (" wedge"),
	SHIELD (" shield");
	
	private String name;
	
	KeyShape(String name) {
		this.name = name;
	}
	
	/**
	 * returns the name of this shape
	 * @return the shape name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * gets the shape of this key by it's item id
	 * @param id the id of the item
	 * @return the shape that this key has
	 */
	public static KeyShape getShape(int id) {
		return null; // TODO : implement
	}
	
}
